package com.dongdong;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling      //定时任务
public class TimerDemo1App {
    public static void main(String[] args) {
        SpringApplication.run(TimerDemo1App.class,args);
        System.out.println("TimerDemo1App已启动");
    }
}